
class Person{
    private Person(){

    }
    // 在Person类里面，来书写控制实例对象的个数
}

public class UseOfEnumerations {
    public static void main(String[] args) {
        Person p1 =  new Person();
        Person p2 = new Person();
    }
}
